﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages.Runtime
{
    public class PropertyDescriptor
    {
        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("value")]
        public RemoteObject Value { get; set; }

        [JsonProperty("writable")]
        public bool Writable { get; set; }

        [JsonProperty("configurable")]
        public bool Configurable { get; set; }

        [JsonProperty("enumerable")]
        public bool Enumerable { get; set; }

        [JsonProperty("isOwn")]
        public bool IsOwn { get; set; }
    }
}